package com.sevntu.apvs.lab3;

public class MainClass {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
			SourceData sourceData = new SourceData(args[0]);
			ElementSet elementSet = new ElementSet(sourceData.getNetElemMatrix(), sourceData.getNetMatrixLine(),
					sourceData.getNetMatrixColumn(), sourceData.getElemMatrixLine(),
					sourceData.getElemMatrixColumn());
			OutputData printData = new OutputData(args[1]);
			printData.printResult(elementSet.getElemSet());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
